package it.traveldream.dto;

import java.math.BigDecimal;
import java.util.Map;

public class HotelDTO extends ProductDTO {

	/**
	 * Enumeration used in both EJB and Web project 
	 */
	public enum HotelRoomType { 
		SINGLE_ROOM("Single Room"), 
		DOUBLE_ROOM("Double Room");
		
		protected String name;
		HotelRoomType(String name){
			this.name = name;
		}
		@Override
		public String toString(){
			return this.name;
		}
	};
	
	private static final long serialVersionUID = 1L;
	
	private Map<HotelRoomType, Integer> rooms;
	private Map<HotelRoomType, BigDecimal> prices;

	public Map<HotelRoomType, Integer> getRooms() {
		return this.rooms;
	}

	public void setRooms(Map<HotelRoomType, Integer> rooms) {
		this.rooms = rooms;
	}

	public Map<HotelRoomType, BigDecimal> getPrices() {
		return this.prices;
	}

	public void setPrices(Map<HotelRoomType, BigDecimal> prices) {
		this.prices = prices;
	}

}
